interface Show
{
 void showHelp();
}
class  AnonymousClassDemo
{
	public static void main(String[] args) 
	{
		Show s=new Show(){
		public void showHelp()
		{
			System.out.println("press F1 for help");
		}
		};
		System.out.println(s);
		s.showHelp();
		System.out.println("main end");
	}
}
